import { get, postForm, postBlob, post, service } from '@/api/common-api';
/**
 * 中都历史页面API
 */
// 内水冷告警历史数据
export const postZdyjHistoryKbSlAlarmPage = (params) => post('/zdyj/alarmHistory/sl/alarmPage', params);
// 桥臂告警历史数据
export const postZdyjHistoryKbQbAlarmPage = (params) => post('/zdyj/history/kb/qb/alarmPage', params);
// 子模块告警历史数据
export const postZdyjHistoryKbZmkAlarmPage = (params) => post('/zdyj/history/kb/zmk/alarmPage', params);
// 测点告警历史数据
export const postZdyjHistoryKbDwAlarmPage = (params) => post('/zdyj/history/kb/dw/alarmPage', params);

// 水冷告警历史数据，数据采集波形图
export const getZdyjHistoryKbSlAlarmTrend = (params) => get('/zdyj/history/kb/sl/alarm/trend', {params});
// 子模块&测点告警历史数据，数据采集波形图
export const postZdyjHistoryKbDwAlarmTrend = (params) => post('/zdyj/history/kb/dw/alarm/trend', params)

// // 家族对比
// export const postZdyjHistoryZdHsyFc = (params) => post('/zdyj/history/zd/hsy/fc', params);
// 历史数据分页
export const postZdyjHistoryKbHsyPage = (params) => post('/zdyj/history/kb/hsy/page', params);
